package com.arges.baen;

/**
 * <p>
 * TODO
 * </p>
 *
 * @author fanweitao
 * @date 2022/12/13
 */
public class AccessTokenVO {

    /**
     * access_token凭证
     */
    private String access_token;

    /**
     * 应用Key
     */
    private String client_id;

    /**
     * access_token凭证过期时间时间戳
     */
    private String expires_time;

    /**
     * 授权用户唯一标识
     */
    private String openid;

    /**
     * 刷新access_token凭证过期时间时间戳
     */
    private String refresh_expires_time;

    /**
     * 刷新access_token凭证
     */
    private String refresh_token;

    /**
     * 授权范围,固定为userinfo
     */
    private String scope;


    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public String getClient_id() {
        return client_id;
    }

    public void setClient_id(String client_id) {
        this.client_id = client_id;
    }

    public String getExpires_time() {
        return expires_time;
    }

    public void setExpires_time(String expires_time) {
        this.expires_time = expires_time;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getRefresh_expires_time() {
        return refresh_expires_time;
    }

    public void setRefresh_expires_time(String refresh_expires_time) {
        this.refresh_expires_time = refresh_expires_time;
    }

    public String getRefresh_token() {
        return refresh_token;
    }

    public void setRefresh_token(String refresh_token) {
        this.refresh_token = refresh_token;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    @Override
    public String toString() {
        return "AccessTokenVO{" +
                "access_token='" + access_token + '\'' +
                ", client_id='" + client_id + '\'' +
                ", expires_time='" + expires_time + '\'' +
                ", openid='" + openid + '\'' +
                ", refresh_expires_time='" + refresh_expires_time + '\'' +
                ", refresh_token='" + refresh_token + '\'' +
                ", scope='" + scope + '\'' +
                '}';
    }
}
